cboj-loans-prc-api
Get Loan Schedule Dates
Description: This endpoint is used to get the loan schedule details based on loanId. The loanId being passed in path parameter.
Mulesoft Request:
Headers:
Mandatory Headers: x-channel-id,x-correlation-id, x-bank-id,client_id, client_secret
Optional Headers: x-sub-channel-id,x-user-id, Authorization,x-debug-flag,x-debug-flag, x-customer-id
Paramaters:
URI Params: /{id}/
Query Params: NA
Content-type: application/json
Mulesoft Response:
Success Response: (200)
{
"status":
{
"success": true,
"code": "200",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
},
"response":
{
"loans":
{
"schedule": [{
"paymentNo":"",
"scheduleDate":"",
"overdueAmount":"",
"totalAmount":"",
"principalAmount":"",
"interest":"",
"commission":"",
"fees":"",
"charges":"",
"outstandingAmount":""
}]
}
}
}
Sample Error Response:
400 :
{
"status":
{
"success": false,
"code": "400",
"reasonCode": "BadRequest",
"arabicMessage": "لم يتم العثور على سجلات تطابق Ù…Øددات البØØ«",
"englishMessage": "No records were found that matched the selection criteria",
"backendError": "No records were found that matched the selection criteria",
"backendCode": "T24003790"
}
}